<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。
	pageContext.setAttribute("basePath",basePath);
%>
<form action="${param.action}" method="post" id="id_cade_form">
	<div class="custom-form">
		<ul>
			<li><span>姓名：</span><input name="name" type="text"  class="easyui-textbox" value="${param.name}"/></li>
			<li><span>身份证号码：</span><input name="idNo" type="text" class="easyui-textbox" value="${param.idNo}"/></li>
			<li><span>性别：</span><input name="sex" type="text" class="easyui-combotree" value="${param.sex}" data-options="editabled:false,data:[{id:'男',text:'男'},{id:'女',text:'女'}]"></li>
			<li><span>民族：</span><input name="nation" class="easyui-textbox" value="${param.nation}"></li>
			<li><span>学号：</span><input name="stuNo" class="easyui-textbox" value="${param.stuNo }"/></li>
			<li><span>班级：</span><input  name="banji.id" type="text" class="easyui-combotree" value="${param.banji.id}" data-options="editable:false,url:'student/class/banjiCombo',icons:[clearInput_icon],onBeforeSelect:function(node){return $(this).tree('isLeaf',node.target);}" /></li>
			<li><span>职务：</span><input  name="duty" type="text" class="easyui-textbox" value="${param.duty}"  /></li>
			<li><span>QQ号码：</span><input name="qq" type="text" class="easyui-textbox" value="${param.qq}"></li>
			<li><span>地址：</span><input name="address" type="text" class="easyui-textbox" value="${param.address}"></li>
			<li><span>电话：</span><input name="phone" class="easyui-textbox" value="${param.phone}"></li>
			<li><span>是否在校：</span><input name="isUsed" type="text"  value="${param.isUsed}" class="easyui-combotree" data-options="required:true,data:[{id:'1',text:'是'},{id:'0',text:'否'},{id:'2',text:'都显示'}],panelwidth:'auto'" /></li>
		</ul>
	</div>
</form>
